/* tslint:disable */
/* eslint-disable */

import React, { SVGAttributes, FunctionComponent } from 'react';
import IconPetZhaoxiangji from './IconPetZhaoxiangji';
import IconPetTupian from './IconPetTupian';
import IconPetMaomao from './IconPetMaomao';
import IconPetJiankangtishi from './IconPetJiankangtishi';
import IconPetChongwuyundong from './IconPetChongwuyundong';
import IconPetChongwuxunlian from './IconPetChongwuxunlian';
import IconPetChongwumeirong from './IconPetChongwumeirong';
import IconPetChongwuweiyang from './IconPetChongwuweiyang';
import IconPetShipin from './IconPetShipin';
import IconPetWeizhi from './IconPetWeizhi';
import IconPetNv from './IconPetNv';
import IconPetNan from './IconPetNan';
import IconPetPawprint from './IconPetPawprint';
import IconPetCalendarCheck from './IconPetCalendarCheck';
import IconPetHospital from './IconPetHospital';
import IconPetYimiaoguan from './IconPetYimiaoguan';
export { default as IconPetZhaoxiangji } from './IconPetZhaoxiangji';
export { default as IconPetTupian } from './IconPetTupian';
export { default as IconPetMaomao } from './IconPetMaomao';
export { default as IconPetJiankangtishi } from './IconPetJiankangtishi';
export { default as IconPetChongwuyundong } from './IconPetChongwuyundong';
export { default as IconPetChongwuxunlian } from './IconPetChongwuxunlian';
export { default as IconPetChongwumeirong } from './IconPetChongwumeirong';
export { default as IconPetChongwuweiyang } from './IconPetChongwuweiyang';
export { default as IconPetShipin } from './IconPetShipin';
export { default as IconPetWeizhi } from './IconPetWeizhi';
export { default as IconPetNv } from './IconPetNv';
export { default as IconPetNan } from './IconPetNan';
export { default as IconPetPawprint } from './IconPetPawprint';
export { default as IconPetCalendarCheck } from './IconPetCalendarCheck';
export { default as IconPetHospital } from './IconPetHospital';
export { default as IconPetYimiaoguan } from './IconPetYimiaoguan';

export type IconNames = 'pet-zhaoxiangji' | 'pet-tupian' | 'pet-maomao' | 'pet-jiankangtishi' | 'pet-chongwuyundong' | 'pet-chongwuxunlian' | 'pet-chongwumeirong' | 'pet-chongwuweiyang' | 'pet-shipin' | 'pet-weizhi' | 'pet-nv' | 'pet-nan' | 'pet-pawprint' | 'pet-calendar-check' | 'pet-hospital' | 'pet-yimiaoguan';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  name: IconNames;
  size?: number;
  color?: string | string[];
}

const IconFont: FunctionComponent<Props> = ({ name, ...rest }) => {
  switch (name) {
    case 'pet-zhaoxiangji':
      return <IconPetZhaoxiangji {...rest} />;
    case 'pet-tupian':
      return <IconPetTupian {...rest} />;
    case 'pet-maomao':
      return <IconPetMaomao {...rest} />;
    case 'pet-jiankangtishi':
      return <IconPetJiankangtishi {...rest} />;
    case 'pet-chongwuyundong':
      return <IconPetChongwuyundong {...rest} />;
    case 'pet-chongwuxunlian':
      return <IconPetChongwuxunlian {...rest} />;
    case 'pet-chongwumeirong':
      return <IconPetChongwumeirong {...rest} />;
    case 'pet-chongwuweiyang':
      return <IconPetChongwuweiyang {...rest} />;
    case 'pet-shipin':
      return <IconPetShipin {...rest} />;
    case 'pet-weizhi':
      return <IconPetWeizhi {...rest} />;
    case 'pet-nv':
      return <IconPetNv {...rest} />;
    case 'pet-nan':
      return <IconPetNan {...rest} />;
    case 'pet-pawprint':
      return <IconPetPawprint {...rest} />;
    case 'pet-calendar-check':
      return <IconPetCalendarCheck {...rest} />;
    case 'pet-hospital':
      return <IconPetHospital {...rest} />;
    case 'pet-yimiaoguan':
      return <IconPetYimiaoguan {...rest} />;

  }

  return null;
};

export default IconFont;
